package com.example.demo.redis;

import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;
import redis.clients.jedis.Jedis;

/**
 * @Author: shubin_yao
 * @Date: 2021/12/26/20:39
 * @Description: Jedis客户端使用 ，测试链接
 */
public class JedisConDemo {

    public static void main(String[] args) {
        Jedis  jedis = new Jedis("39.105.171.88",6380);
        System.out.println(jedis.ping());

        jedis.close();
    }
}
